3.3.33 \(\int \frac {(a+b \log (c (d+e x)^n))^3}{(f+g x) (h+i x)^2} \, dx\) [233]

Optimal. Leaf size=602 \[ -\frac {i (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(e h-d i) (g h-f i) (h+i x)}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(g h-f i)^2}+\frac {3 b e n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \log \left (\frac {e (h+i x)}{e h-d i}\right )}{(e h-d i) (g h-f i)}-\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (h+i x)}{e h-d i}\right )}{(g h-f i)^2}+\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (-\frac {g (d+e x)}{e f-d g}\right )}{(g h-f i)^2}+\frac {6 b^2 e n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_2\left (-\frac {i (d+e x)}{e h-d i}\right )}{(e h-d i) (g h-f i)}-\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (-\frac {i (d+e x)}{e h-d i}\right )}{(g h-f i)^2}-\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (-\frac {g (d+e x)}{e f-d g}\right )}{(g h-f i)^2}-\frac {6 b^3 e n^3 \text {Li}_3\left (-\frac {i (d+e x)}{e h-d i}\right )}{(e h-d i) (g h-f i)}+\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (-\frac {i (d+e x)}{e h-d i}\right )}{(g h-f i)^2}+\frac {6 b^3 g n^3 \text {Li}_4\left (-\frac {g (d+e x)}{e f-d g}\right )}{(g h-f i)^2}-\frac {6 b^3 g n^3 \text {Li}_4\left (-\frac {i (d+e x)}{e h-d i}\right )}{(g h-f i)^2} \]

[Out]

-i*(e*x+d)*(a+b*ln(c*(e*x+d)^n))^3/(-d*i+e*h)/(-f*i+g*h)/(i*x+h)+g*(a+b*ln(c*(e*x+d)^n))^3*ln(e*(g*x+f)/(-d*g+
e*f))/(-f*i+g*h)^2+3*b*e*n*(a+b*ln(c*(e*x+d)^n))^2*ln(e*(i*x+h)/(-d*i+e*h))/(-d*i+e*h)/(-f*i+g*h)-g*(a+b*ln(c*
(e*x+d)^n))^3*ln(e*(i*x+h)/(-d*i+e*h))/(-f*i+g*h)^2+3*b*g*n*(a+b*ln(c*(e*x+d)^n))^2*polylog(2,-g*(e*x+d)/(-d*g
+e*f))/(-f*i+g*h)^2+6*b^2*e*n^2*(a+b*ln(c*(e*x+d)^n))*polylog(2,-i*(e*x+d)/(-d*i+e*h))/(-d*i+e*h)/(-f*i+g*h)-3
*b*g*n*(a+b*ln(c*(e*x+d)^n))^2*polylog(2,-i*(e*x+d)/(-d*i+e*h))/(-f*i+g*h)^2-6*b^2*g*n^2*(a+b*ln(c*(e*x+d)^n))
*polylog(3,-g*(e*x+d)/(-d*g+e*f))/(-f*i+g*h)^2-6*b^3*e*n^3*polylog(3,-i*(e*x+d)/(-d*i+e*h))/(-d*i+e*h)/(-f*i+g
*h)+6*b^2*g*n^2*(a+b*ln(c*(e*x+d)^n))*polylog(3,-i*(e*x+d)/(-d*i+e*h))/(-f*i+g*h)^2+6*b^3*g*n^3*polylog(4,-g*(
e*x+d)/(-d*g+e*f))/(-f*i+g*h)^2-6*b^3*g*n^3*polylog(4,-i*(e*x+d)/(-d*i+e*h))/(-f*i+g*h)^2

________________________________________________________________________________________

Rubi [A]
time = 0.50, antiderivative size = 602, normalized size of antiderivative = 1.00, number of steps used = 17, number of rules used = 7, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.226, Rules used = {2465, 2443, 2481, 2421, 2430, 6724, 2444} \begin {gather*} \frac {6 b^2 e n^2 \text {PolyLog}\left (2,-\frac {i (d+e x)}{e h-d i}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{(e h-d i) (g h-f i)}-\frac {6 b^2 g n^2 \text {PolyLog}\left (3,-\frac {g (d+e x)}{e f-d g}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{(g h-f i)^2}+\frac {6 b^2 g n^2 \text {PolyLog}\left (3,-\frac {i (d+e x)}{e h-d i}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{(g h-f i)^2}+\frac {3 b g n \text {PolyLog}\left (2,-\frac {g (d+e x)}{e f-d g}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(g h-f i)^2}-\frac {3 b g n \text {PolyLog}\left (2,-\frac {i (d+e x)}{e h-d i}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(g h-f i)^2}-\frac {6 b^3 e n^3 \text {PolyLog}\left (3,-\frac {i (d+e x)}{e h-d i}\right )}{(e h-d i) (g h-f i)}+\frac {6 b^3 g n^3 \text {PolyLog}\left (4,-\frac {g (d+e x)}{e f-d g}\right )}{(g h-f i)^2}-\frac {6 b^3 g n^3 \text {PolyLog}\left (4,-\frac {i (d+e x)}{e h-d i}\right )}{(g h-f i)^2}+\frac {3 b e n \log \left (\frac {e (h+i x)}{e h-d i}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(e h-d i) (g h-f i)}-\frac {i (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(h+i x) (e h-d i) (g h-f i)}+\frac {g \log \left (\frac {e (f+g x)}{e f-d g}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(g h-f i)^2}-\frac {g \log \left (\frac {e (h+i x)}{e h-d i}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(g h-f i)^2} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Log[c*(d + e*x)^n])^3/((f + g*x)*(h + i*x)^2),x]

[Out]

-((i*(d + e*x)*(a + b*Log[c*(d + e*x)^n])^3)/((e*h - d*i)*(g*h - f*i)*(h + i*x))) + (g*(a + b*Log[c*(d + e*x)^
n])^3*Log[(e*(f + g*x))/(e*f - d*g)])/(g*h - f*i)^2 + (3*b*e*n*(a + b*Log[c*(d + e*x)^n])^2*Log[(e*(h + i*x))/
(e*h - d*i)])/((e*h - d*i)*(g*h - f*i)) - (g*(a + b*Log[c*(d + e*x)^n])^3*Log[(e*(h + i*x))/(e*h - d*i)])/(g*h
 - f*i)^2 + (3*b*g*n*(a + b*Log[c*(d + e*x)^n])^2*PolyLog[2, -((g*(d + e*x))/(e*f - d*g))])/(g*h - f*i)^2 + (6
*b^2*e*n^2*(a + b*Log[c*(d + e*x)^n])*PolyLog[2, -((i*(d + e*x))/(e*h - d*i))])/((e*h - d*i)*(g*h - f*i)) - (3
*b*g*n*(a + b*Log[c*(d + e*x)^n])^2*PolyLog[2, -((i*(d + e*x))/(e*h - d*i))])/(g*h - f*i)^2 - (6*b^2*g*n^2*(a
+ b*Log[c*(d + e*x)^n])*PolyLog[3, -((g*(d + e*x))/(e*f - d*g))])/(g*h - f*i)^2 - (6*b^3*e*n^3*PolyLog[3, -((i
*(d + e*x))/(e*h - d*i))])/((e*h - d*i)*(g*h - f*i)) + (6*b^2*g*n^2*(a + b*Log[c*(d + e*x)^n])*PolyLog[3, -((i
*(d + e*x))/(e*h - d*i))])/(g*h - f*i)^2 + (6*b^3*g*n^3*PolyLog[4, -((g*(d + e*x))/(e*f - d*g))])/(g*h - f*i)^
2 - (6*b^3*g*n^3*PolyLog[4, -((i*(d + e*x))/(e*h - d*i))])/(g*h - f*i)^2

Rule 2421

Int[(Log[(d_.)*((e_) + (f_.)*(x_)^(m_.))]*((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.))/(x_), x_Symbol] :> Simp
[(-PolyLog[2, (-d)*f*x^m])*((a + b*Log[c*x^n])^p/m), x] + Dist[b*n*(p/m), Int[PolyLog[2, (-d)*f*x^m]*((a + b*L
og[c*x^n])^(p - 1)/x), x], x] /; FreeQ[{a, b, c, d, e, f, m, n}, x] && IGtQ[p, 0] && EqQ[d*e, 1]

Rule 2430

Int[(((a_.) + Log[(c_.)*(x_)^(n_.)]*(b_.))^(p_.)*PolyLog[k_, (e_.)*(x_)^(q_.)])/(x_), x_Symbol] :> Simp[PolyLo
g[k + 1, e*x^q]*((a + b*Log[c*x^n])^p/q), x] - Dist[b*n*(p/q), Int[PolyLog[k + 1, e*x^q]*((a + b*Log[c*x^n])^(
p - 1)/x), x], x] /; FreeQ[{a, b, c, e, k, n, q}, x] && GtQ[p, 0]

Rule 2443

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)/((f_.) + (g_.)*(x_)), x_Symbol] :> Simp[Log[e*((
f + g*x)/(e*f - d*g))]*((a + b*Log[c*(d + e*x)^n])^p/g), x] - Dist[b*e*n*(p/g), Int[Log[(e*(f + g*x))/(e*f - d
*g)]*((a + b*Log[c*(d + e*x)^n])^(p - 1)/(d + e*x)), x], x] /; FreeQ[{a, b, c, d, e, f, g, n, p}, x] && NeQ[e*
f - d*g, 0] && IGtQ[p, 1]

Rule 2444

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_)/((f_.) + (g_.)*(x_))^2, x_Symbol] :> Simp[(d + e
*x)*((a + b*Log[c*(d + e*x)^n])^p/((e*f - d*g)*(f + g*x))), x] - Dist[b*e*n*(p/(e*f - d*g)), Int[(a + b*Log[c*
(d + e*x)^n])^(p - 1)/(f + g*x), x], x] /; FreeQ[{a, b, c, d, e, f, g, n}, x] && NeQ[e*f - d*g, 0] && GtQ[p, 0
]

Rule 2465

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*(RFx_), x_Symbol] :> With[{u = ExpandIntegrand[
(a + b*Log[c*(d + e*x)^n])^p, RFx, x]}, Int[u, x] /; SumQ[u]] /; FreeQ[{a, b, c, d, e, n}, x] && RationalFunct
ionQ[RFx, x] && IntegerQ[p]

Rule 2481

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_))^(n_.)]*(b_.))^(p_.)*((f_.) + Log[(h_.)*((i_.) + (j_.)*(x_))^(m_.)]*
(g_.))*((k_.) + (l_.)*(x_))^(r_.), x_Symbol] :> Dist[1/e, Subst[Int[(k*(x/d))^r*(a + b*Log[c*x^n])^p*(f + g*Lo
g[h*((e*i - d*j)/e + j*(x/e))^m]), x], x, d + e*x], x] /; FreeQ[{a, b, c, d, e, f, g, h, i, j, k, l, n, p, r},
 x] && EqQ[e*k - d*l, 0]

Rule 6724

Int[PolyLog[n_, (c_.)*((a_.) + (b_.)*(x_))^(p_.)]/((d_.) + (e_.)*(x_)), x_Symbol] :> Simp[PolyLog[n + 1, c*(a
+ b*x)^p]/(e*p), x] /; FreeQ[{a, b, c, d, e, n, p}, x] && EqQ[b*d, a*e]

Rubi steps

\begin {align*} \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(h+233 x)^2 (f+g x)} \, dx &=\int \left (\frac {233 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h) (h+233 x)^2}-\frac {233 g \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2 (h+233 x)}+\frac {g^2 \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2 (f+g x)}\right ) \, dx\\ &=-\frac {(233 g) \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{h+233 x} \, dx}{(233 f-g h)^2}+\frac {g^2 \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{f+g x} \, dx}{(233 f-g h)^2}+\frac {233 \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(h+233 x)^2} \, dx}{233 f-g h}\\ &=-\frac {233 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 d-e h) (233 f-g h) (h+233 x)}-\frac {g \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {(3 b e g n) \int \frac {\log \left (\frac {e (h+233 x)}{-233 d+e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{d+e x} \, dx}{(233 f-g h)^2}-\frac {(3 b e g n) \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{d+e x} \, dx}{(233 f-g h)^2}+\frac {(699 b e n) \int \frac {\left (a+b \log \left (c (d+e x)^n\right )\right )^2}{h+233 x} \, dx}{(233 d-e h) (233 f-g h)}\\ &=\frac {3 b e n \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(233 d-e h) (233 f-g h)}-\frac {233 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 d-e h) (233 f-g h) (h+233 x)}-\frac {g \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {(3 b g n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2 \log \left (\frac {e \left (\frac {-233 d+e h}{e}+\frac {233 x}{e}\right )}{-233 d+e h}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}-\frac {(3 b g n) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right )^2 \log \left (\frac {e \left (\frac {e f-d g}{e}+\frac {g x}{e}\right )}{e f-d g}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}-\frac {\left (6 b^2 e^2 n^2\right ) \int \frac {\log \left (\frac {e (h+233 x)}{-233 d+e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )}{d+e x} \, dx}{(233 d-e h) (233 f-g h)}\\ &=\frac {3 b e n \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(233 d-e h) (233 f-g h)}-\frac {233 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 d-e h) (233 f-g h) (h+233 x)}-\frac {g \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}-\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}-\frac {\left (6 b^2 g n^2\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {g x}{e f-d g}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}+\frac {\left (6 b^2 g n^2\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \text {Li}_2\left (-\frac {233 x}{-233 d+e h}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}-\frac {\left (6 b^2 e n^2\right ) \text {Subst}\left (\int \frac {\left (a+b \log \left (c x^n\right )\right ) \log \left (\frac {e \left (\frac {-233 d+e h}{e}+\frac {233 x}{e}\right )}{-233 d+e h}\right )}{x} \, dx,x,d+e x\right )}{(233 d-e h) (233 f-g h)}\\ &=\frac {3 b e n \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(233 d-e h) (233 f-g h)}-\frac {233 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 d-e h) (233 f-g h) (h+233 x)}-\frac {g \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {6 b^2 e n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_2\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 d-e h) (233 f-g h)}-\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}-\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}+\frac {\left (6 b^3 g n^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3\left (-\frac {g x}{e f-d g}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}-\frac {\left (6 b^3 g n^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3\left (-\frac {233 x}{-233 d+e h}\right )}{x} \, dx,x,d+e x\right )}{(233 f-g h)^2}-\frac {\left (6 b^3 e n^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2\left (-\frac {233 x}{-233 d+e h}\right )}{x} \, dx,x,d+e x\right )}{(233 d-e h) (233 f-g h)}\\ &=\frac {3 b e n \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^2}{(233 d-e h) (233 f-g h)}-\frac {233 (d+e x) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 d-e h) (233 f-g h) (h+233 x)}-\frac {g \log \left (-\frac {e (h+233 x)}{233 d-e h}\right ) \left (a+b \log \left (c (d+e x)^n\right )\right )^3}{(233 f-g h)^2}+\frac {g \left (a+b \log \left (c (d+e x)^n\right )\right )^3 \log \left (\frac {e (f+g x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}+\frac {6 b^2 e n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_2\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 d-e h) (233 f-g h)}-\frac {3 b g n \left (a+b \log \left (c (d+e x)^n\right )\right )^2 \text {Li}_2\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}-\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}-\frac {6 b^3 e n^3 \text {Li}_3\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 d-e h) (233 f-g h)}+\frac {6 b^2 g n^2 \left (a+b \log \left (c (d+e x)^n\right )\right ) \text {Li}_3\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}+\frac {6 b^3 g n^3 \text {Li}_4\left (-\frac {g (d+e x)}{e f-d g}\right )}{(233 f-g h)^2}-\frac {6 b^3 g n^3 \text {Li}_4\left (\frac {233 (d+e x)}{233 d-e h}\right )}{(233 f-g h)^2}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.77, size = 1025, normalized size = 1.70 \begin {gather*} \frac {(e h-d i) (g h-f i) \left (a-b n \log (d+e x)+b \log \left (c (d+e x)^n\right )\right )^3+g (e h-d i) (h+i x) \left (a-b n \log (d+e x)+b \log \left (c (d+e x)^n\right )\right )^3 \log (f+g x)-g (e h-d i) (h+i x) \left (a-b n \log (d+e x)+b \log \left (c (d+e x)^n\right )\right )^3 \log (h+i x)-3 b n \left (a-b n \log (d+e x)+b \log \left (c (d+e x)^n\right )\right )^2 \left ((g h-f i) (i (d+e x) \log (d+e x)-e (h+i x) \log (h+i x))-g (e h-d i) (h+i x) \left (\log (d+e x) \log \left (\frac {e (f+g x)}{e f-d g}\right )+\text {Li}_2\left (\frac {g (d+e x)}{-e f+d g}\right )\right )+g (e h-d i) (h+i x) \left (\log (d+e x) \log \left (\frac {e (h+i x)}{e h-d i}\right )+\text {Li}_2\left (\frac {i (d+e x)}{-e h+d i}\right )\right )\right )-3 b^2 n^2 \left (a-b n \log (d+e x)+b \log \left (c (d+e x)^n\right )\right ) \left ((g h-f i) \left (\log (d+e x) \left (i (d+e x) \log (d+e x)-2 e (h+i x) \log \left (\frac {e (h+i x)}{e h-d i}\right )\right )-2 e (h+i x) \text {Li}_2\left (\frac {i (d+e x)}{-e h+d i}\right )\right )-g (e h-d i) (h+i x) \left (\log ^2(d+e x) \log \left (\frac {e (f+g x)}{e f-d g}\right )+2 \log (d+e x) \text {Li}_2\left (\frac {g (d+e x)}{-e f+d g}\right )-2 \text {Li}_3\left (\frac {g (d+e x)}{-e f+d g}\right )\right )+g (e h-d i) (h+i x) \left (\log ^2(d+e x) \log \left (\frac {e (h+i x)}{e h-d i}\right )+2 \log (d+e x) \text {Li}_2\left (\frac {i (d+e x)}{-e h+d i}\right )-2 \text {Li}_3\left (\frac {i (d+e x)}{-e h+d i}\right )\right )\right )-b^3 n^3 \left ((g h-f i) \left (\log ^2(d+e x) \left (i (d+e x) \log (d+e x)-3 e (h+i x) \log \left (\frac {e (h+i x)}{e h-d i}\right )\right )-6 e (h+i x) \log (d+e x) \text {Li}_2\left (\frac {i (d+e x)}{-e h+d i}\right )+6 e (h+i x) \text {Li}_3\left (\frac {i (d+e x)}{-e h+d i}\right )\right )-g (e h-d i) (h+i x) \left (\log ^3(d+e x) \log \left (\frac {e (f+g x)}{e f-d g}\right )+3 \log ^2(d+e x) \text {Li}_2\left (\frac {g (d+e x)}{-e f+d g}\right )-6 \log (d+e x) \text {Li}_3\left (\frac {g (d+e x)}{-e f+d g}\right )+6 \text {Li}_4\left (\frac {g (d+e x)}{-e f+d g}\right )\right )+g (e h-d i) (h+i x) \left (\log ^3(d+e x) \log \left (\frac {e (h+i x)}{e h-d i}\right )+3 \log ^2(d+e x) \text {Li}_2\left (\frac {i (d+e x)}{-e h+d i}\right )-6 \log (d+e x) \text {Li}_3\left (\frac {i (d+e x)}{-e h+d i}\right )+6 \text {Li}_4\left (\frac {i (d+e x)}{-e h+d i}\right )\right )\right )}{(e h-d i) (g h-f i)^2 (h+i x)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Log[c*(d + e*x)^n])^3/((f + g*x)*(h + i*x)^2),x]

[Out]

((e*h - d*i)*(g*h - f*i)*(a - b*n*Log[d + e*x] + b*Log[c*(d + e*x)^n])^3 + g*(e*h - d*i)*(h + i*x)*(a - b*n*Lo
g[d + e*x] + b*Log[c*(d + e*x)^n])^3*Log[f + g*x] - g*(e*h - d*i)*(h + i*x)*(a - b*n*Log[d + e*x] + b*Log[c*(d
 + e*x)^n])^3*Log[h + i*x] - 3*b*n*(a - b*n*Log[d + e*x] + b*Log[c*(d + e*x)^n])^2*((g*h - f*i)*(i*(d + e*x)*L
og[d + e*x] - e*(h + i*x)*Log[h + i*x]) - g*(e*h - d*i)*(h + i*x)*(Log[d + e*x]*Log[(e*(f + g*x))/(e*f - d*g)]
 + PolyLog[2, (g*(d + e*x))/(-(e*f) + d*g)]) + g*(e*h - d*i)*(h + i*x)*(Log[d + e*x]*Log[(e*(h + i*x))/(e*h -
d*i)] + PolyLog[2, (i*(d + e*x))/(-(e*h) + d*i)])) - 3*b^2*n^2*(a - b*n*Log[d + e*x] + b*Log[c*(d + e*x)^n])*(
(g*h - f*i)*(Log[d + e*x]*(i*(d + e*x)*Log[d + e*x] - 2*e*(h + i*x)*Log[(e*(h + i*x))/(e*h - d*i)]) - 2*e*(h +
 i*x)*PolyLog[2, (i*(d + e*x))/(-(e*h) + d*i)]) - g*(e*h - d*i)*(h + i*x)*(Log[d + e*x]^2*Log[(e*(f + g*x))/(e
*f - d*g)] + 2*Log[d + e*x]*PolyLog[2, (g*(d + e*x))/(-(e*f) + d*g)] - 2*PolyLog[3, (g*(d + e*x))/(-(e*f) + d*
g)]) + g*(e*h - d*i)*(h + i*x)*(Log[d + e*x]^2*Log[(e*(h + i*x))/(e*h - d*i)] + 2*Log[d + e*x]*PolyLog[2, (i*(
d + e*x))/(-(e*h) + d*i)] - 2*PolyLog[3, (i*(d + e*x))/(-(e*h) + d*i)])) - b^3*n^3*((g*h - f*i)*(Log[d + e*x]^
2*(i*(d + e*x)*Log[d + e*x] - 3*e*(h + i*x)*Log[(e*(h + i*x))/(e*h - d*i)]) - 6*e*(h + i*x)*Log[d + e*x]*PolyL
og[2, (i*(d + e*x))/(-(e*h) + d*i)] + 6*e*(h + i*x)*PolyLog[3, (i*(d + e*x))/(-(e*h) + d*i)]) - g*(e*h - d*i)*
(h + i*x)*(Log[d + e*x]^3*Log[(e*(f + g*x))/(e*f - d*g)] + 3*Log[d + e*x]^2*PolyLog[2, (g*(d + e*x))/(-(e*f) +
 d*g)] - 6*Log[d + e*x]*PolyLog[3, (g*(d + e*x))/(-(e*f) + d*g)] + 6*PolyLog[4, (g*(d + e*x))/(-(e*f) + d*g)])
 + g*(e*h - d*i)*(h + i*x)*(Log[d + e*x]^3*Log[(e*(h + i*x))/(e*h - d*i)] + 3*Log[d + e*x]^2*PolyLog[2, (i*(d
+ e*x))/(-(e*h) + d*i)] - 6*Log[d + e*x]*PolyLog[3, (i*(d + e*x))/(-(e*h) + d*i)] + 6*PolyLog[4, (i*(d + e*x))
/(-(e*h) + d*i)])))/((e*h - d*i)*(g*h - f*i)^2*(h + i*x))

________________________________________________________________________________________

Maple [F]
time = 0.29, size = 0, normalized size = 0.00 \[\int \frac {\left (a +b \ln \left (c \left (e x +d \right )^{n}\right )\right )^{3}}{\left (g x +f \right ) \left (i x +h \right )^{2}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*ln(c*(e*x+d)^n))^3/(g*x+f)/(i*x+h)^2,x)

[Out]

int((a+b*ln(c*(e*x+d)^n))^3/(g*x+f)/(i*x+h)^2,x)

________________________________________________________________________________________

Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: RuntimeError} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(e*x+d)^n))^3/(g*x+f)/(i*x+h)^2,x, algorithm="maxima")

[Out]

Exception raised: RuntimeError >> ECL says: THROW: The catch RAT-ERR is undefined.

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(e*x+d)^n))^3/(g*x+f)/(i*x+h)^2,x, algorithm="fricas")

[Out]

integral(-(b^3*n^3*log(x*e + d)^3 + b^3*log(c)^3 + 3*a*b^2*log(c)^2 + 3*a^2*b*log(c) + a^3 + 3*(b^3*n^2*log(c)
 + a*b^2*n^2)*log(x*e + d)^2 + 3*(b^3*n*log(c)^2 + 2*a*b^2*n*log(c) + a^2*b*n)*log(x*e + d))/(g*x^3 - f*h^2 +
(-2*I*g*h + f)*x^2 - (g*h^2 + 2*I*f*h)*x), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {\left (a + b \log {\left (c \left (d + e x\right )^{n} \right )}\right )^{3}}{\left (f + g x\right ) \left (h + i x\right )^{2}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*ln(c*(e*x+d)**n))**3/(g*x+f)/(i*x+h)**2,x)

[Out]

Integral((a + b*log(c*(d + e*x)**n))**3/((f + g*x)*(h + i*x)**2), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*log(c*(e*x+d)^n))^3/(g*x+f)/(i*x+h)^2,x, algorithm="giac")

[Out]

integrate((b*log((x*e + d)^n*c) + a)^3/((g*x + f)*(h + I*x)^2), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\left (a+b\,\ln \left (c\,{\left (d+e\,x\right )}^n\right )\right )}^3}{\left (f+g\,x\right )\,{\left (h+i\,x\right )}^2} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*log(c*(d + e*x)^n))^3/((f + g*x)*(h + i*x)^2),x)

[Out]

int((a + b*log(c*(d + e*x)^n))^3/((f + g*x)*(h + i*x)^2), x)

________________________________________________________________________________________